﻿namespace SuperModel.BehaviorModel
{
    using System;

    /// <summary>
    /// Base class for property get interception
    /// </summary>
    public abstract class PropertyGetInterceptionAttribute : PropertyInterceptionAttributeBase
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="PropertyGetInterceptionAttribute"/> class.
        /// </summary>
        /// <param name="filter">
        /// The filter.
        /// </param>
        protected PropertyGetInterceptionAttribute(params Type[] filter)
            : base(filter)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="PropertyGetInterceptionAttribute"/> class.
        /// </summary>
        protected PropertyGetInterceptionAttribute()
        {
        }

        /// <summary>
        /// Gets Property Filter Type.
        /// </summary>
        protected override Type PropertyFilterType
        {
            get { return typeof(IPropertyGetAction); }
        }
    }
}